package cn.zlp.hrm.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zlp
 * @since 2021-12-30
 */
@TableName("t_user")
public class User extends Model<User> {

private static final long serialVersionUID = 1L;

                                            private Long id;
                private String name;


    public Long getId() {
            return id;
            }

        public void setId(Long id) {
            this.id = id;
            }

    public String getName() {
            return name;
            }

        public void setName(String name) {
            this.name = name;
            }

@Override
protected Serializable pkVal() {
            return this.id;
        }

@Override
public String toString() {
        return "User{" +
                ", id=" + id +
                ", name=" + name +
        "}";
        }
        }
